#ifndef _TFT_DRV_H
#define _TFT_DRV_H

#include <rtthread.h>
#include <board.h>

#define TFT_MAX_FRAME_LENGTH 512

typedef struct TFT_Device_St TFTDevice;

extern TFTDevice tftDevice;

struct TFT_Device_St{

    rt_mq_t rxMq;
    rt_mq_t txMq;
    rt_mutex_t txMutex;

	rt_err_t (*send)(const rt_uint8_t *,rt_size_t);
    rt_err_t (*addSend)(const rt_uint8_t *,rt_size_t);
};


#endif

